<ion-content class="tabs-wrap">
  <ion-tabs>
    <ion-tab *ngFor="let tab of tabs"
      [show]="tab.isAvailable === 1 && tabComps[tab.url]"
      [root]="tabComps[tab.url] ? tabComps[tab.url].comp : null"
      tabUrlPath="index"
      [tabsHideOnSubPages]="true"
      [tabTitle]="tab.name"
      [tabIcon]="tabComps[tab.url] ? tabComps[tab.url].icon : null"
      [rootParams]="tab"></ion-tab>
      <!-- <ion-icon name="md-add" class="tabs-add" (click)="createTab()"></ion-icon> -->
    <!-- <ion-tab [root]="tab1Root" tabUrlPath="index" [tabsHideOnSubPages]="true" [show]="!isShow" tabTitle="我的工作" tabIcon="home" (ionSelect)="changeColor()"></ion-tab>
    <ion-tab [root]="tab4Root" tabUrlPath="index" [tabsHideOnSubPages]="true" [show]="isShow" tabTitle="我的工作" tabIcon="home" (ionSelect)="changeColor()"></ion-tab>
    <ion-tab [root]="tab2Root" tabUrlPath="index" [tabsHideOnSubPages]="true" tabTitle="其他应用" tabIcon="contacts" (ionSelect)="changeColor()"></ion-tab>
    <ion-tab [root]="tab3Root" tabUrlPath="index" [tabsHideOnSubPages]="true" tabTitle="我的信息" tabIcon="information-circle" (ionSelect)="changeColor()"></ion-tab> -->
  </ion-tabs>

</ion-content>
